import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";

// 重置样式
import "@/assets/css/reset.less";
// 用于自动设置跟字体的大小的
import "amfe-flexible";
// iconfont字体的css
import "@/assets/font/iconfont.css";

// 默认组件的按需引入是不会引入轻提示，对话框等样式的，需要手动引入
import "vant/es/toast/style";
import "vant/es/dialog/style";
import "vant/es/notify/style";
import "vant/es/image-preview/style";

const app = createApp(App);

app.use(createPinia());
app.use(router);

app.mount("#app");
